Eric de Waal
Hi Peter,
Indeed it has to do with the content of the files that I include.
When executed from the indexer, certain user input is missing and variables not filled.
This occurrs in about half of my articles with sourcerer. The other half get indexed without problems.
So it is not a problem of sourcerer and I will have to set some default values for missing input.
Thanks for your support!
Best,
Eric
Edit: unfortunately there seems to be no way to exclude articles from being indexed on beforehand, only filtering afterwards.
Edit 2: and the indexer is really picky. If it meets a 'die()' statement it already gives an indexing error.
Edit 3: for people who run into the same problem.
As said above; the indexer really EXECUTES the code that you inserted via sourcerer.
That means: it should not generate errors even when variables have not been set because it will halt the indexer.
AND it might lead to unexpected reults; in my case the indexer sent a handful of emails that were supposed to be sent when the article was openend!